Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RATIS-2165. Discussion on canceling transmission of RaftClientRequest. Message in RaftServerImpl.sendReadIndexAsync to further optimize transmission efficiency #1160

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

133tosakarin
Copy link
Contributor

What changes were proposed in this pull request?

For the readIndexRequestProto, we don't need to set message member
In readIndex, we did not use clientRequest.message, so we do not need to serialize the message

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/RATIS-2165

return toRaftClientRequestProto(request, true);
}

static RaftClientRequestProto toRaftClientRequestProto(RaftClientRequest request, boolean with_msg) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do not use with_msg, at least it should be withMsg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants